package com.sh.common.pojo.bo;

import com.sh.entity.Param;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AlgoSaveBO {

    private Long id;

    @NotNull(message = "算法中文名称不能为空")
    private String name;

    @NotNull(message = "算法英文名称不能为空")
    private String nameEn;

    private String description;

    @NotNull(message = "适用类型不能为空")
    private String applicableTypeCode;

    @NotNull(message = "适用学科不能为空")
    private String subjectCode;

    private String algoSchema;

    /**
     * 算子参数列表
     */
    private List<AlgoOperatorParam> operatorParamList;

    /**
     * 全局参数列表
     */
    private List<Param> globalParamList;

    /**
     * 输出配置
     */
    private List<AlgoOutputParam> outputParamList;

}
